#ifndef ADMINMAIN_H
#define ADMINMAIN_H

#include <QWidget>
#include "DateRange.h"
#include "admincourseform.h"
#include "adminoutsectform.h"
//#include "coursedesignaid.h"
#include <QVector>
#include "adminerrordialog.h"
#include "admindata.h"
#include "prdfform.h"


namespace Ui {
class AdminMain;
}

class AdminMain : public QWidget
{
    Q_OBJECT

public:
    explicit AdminMain(QWidget *parent = 0, AdminData* newData = 0);
    ~AdminMain();

private slots:
    void on_pushButton_7_clicked();

    void on_pushButton_clicked();

    void on_pushButton_5_clicked();

    void on_pushButton_8_clicked();

    void on_pushButton_6_clicked();



    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_15_clicked();

    void on_pushButton_4_clicked();

private:
    Ui::AdminMain *ui;

    //semester duration
    DateRange *semDurat;

    //list of holidays and such
    QVector<DateRange> holidays;
//    AdminData *ad;
    AdminData* data;
    bool dateSet;


};

#endif // ADMINMAIN_H




